libxl, configure: print a warning if flex/bison are needed
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 25 Apr 2012 10:44:09 +0000 (11:44 +0100)
committerRoger Pau Monne <roger.pau@citrix.com>
Wed, 25 Apr 2012 10:44:09 +0000 (11:44 +0100)
commit5fce16c040f5e4fae51c5ad0db08f2cf3cd26094
tree6e1c5b271c6543ce752002fa411d543512a0fb8f
parentd9abcb8495b2d481611f8d47b45680e5d9984a33
libxl, configure: print a warning if flex/bison are needed

This patch adds better support for both Flex and Bison, which might
be needed to compile libxl. Now configure script sets BISON and FLEX
Makefile vars if bison and flex are found, but doesn't complain if
they are not found.

Also, added some Makefile soccery to print a warning message if
Bison or Flex are needed but not found.

[ Improved the warning message slightly. -iwj ]

Signed-off-by: Roger Pau Monne <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/configure
tools/configure.ac
tools/libxl/Makefile